package com.cdn.nodes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cdn.common.core.annotation.Excel;
import com.cdn.common.core.web.domain.BaseEntity;

/**
 * 节点SSH，用于管理边缘节点的SSH密钥和访问权限对象 edge_node_ssh
 * 
 * @author Cinzia
 * @date 2024-12-17
 */
@Data
public class EdgeNodeSsh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** SSH记录ID，唯一标识 */
    private Long id;

    /** SSH认证类型 */
    private Integer sshType;

    /** SSH名称 */
    @Excel(name = "SSH名称")
    private String sshUser;

    /** SSH用户名 */
    @Excel(name = "SSH用户名")
    private String sshName;

    /** SSH密钥 */
    @Excel(name = "SSH密钥")
    private String sshKey;

    /** 记录创建者 */
    @Excel(name = "记录创建者")
    private String createdBy;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 集群数 */
    @Excel(name = "集群数")
    private Integer clusterNum;

    /** 节点数 */
    @Excel(name = "节点数")
    private Integer nodeNum;

}
